package com.company.testArithmetic;


import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2016.8.21.
 */
public class Test301 {
    public static void main(String[] args){
        long time=System.currentTimeMillis();
        ArrayList<Integer>L=new ArrayList<>();
        ArrayList<Integer>P=new ArrayList<>();

        for (int i=2;i<15;i++){
            L.add(i);
        }

        P.add(3);
        P.add(2);
        P.add(1);
        printLots(L,P);

        System.out.println(System.currentTimeMillis()-time);
    }

    public static void printLots(ArrayList<Integer> L,ArrayList<Integer> P){
        for (int number:P){
            System.out.println(L.get(number));
        }
    }
}
